/**
 * 票据信息 api 封装
 *
 * @Author:    dragon
 * @Date:      2023-12-11 13:29:14
 * @Copyright  dragon
 */
import {postRequest, getRequest} from '/src/lib/axios';

export const rolandStudentTickeApi = {

    /**
     * 分页查询  @author  dragon
     */
    queryPage: (param) => {
        return postRequest('/rolandStudentTicke/queryPage', param);
    },

    /**
     * 增加  @author  dragon
     */
    add: (param) => {
        return postRequest('/rolandStudentTicke/add', param);
    },

    /**
     * 修改  @author  dragon
     */
    update: (param) => {
        return postRequest('/rolandStudentTicke/update', param);
    },


    /**
     * 删除  @author  dragon
     */
    delete: (id) => {
        return getRequest(`/rolandStudentTicke/delete/${id}`);
    },

    /**
     * 批量删除  @author  dragon
     */
    batchDelete: (idList) => {
        return postRequest('/rolandStudentTicke/batchDelete', idList);
    },

};
